package com.bflow.api.bo;

import com.bflow.commons.bean.QueryParam;

import java.io.Serializable;

/**
 * 功能：BflowDefineProcess 流程定义-查询参数对象
 * 作者：haowen
 * 日期：2018-12-13
 */
public class BflowDefineProcessQueryParam extends QueryParam implements Serializable {

	private static final long serialVersionUID = 8213176791905299748L;
	
	private BflowDefineProcessBo bflowDefineProcess;

	public BflowDefineProcessQueryParam() {
	}

	public BflowDefineProcessQueryParam(BflowDefineProcessBo bflowDefineProcess) {
		setBflowDefineProcess(bflowDefineProcess);
	}

	public BflowDefineProcessBo getBflowDefineProcess() {
		return bflowDefineProcess;
	}

	public void setBflowDefineProcess(BflowDefineProcessBo bflowDefineProcess) {
		super.setParamBean(bflowDefineProcess);
		this.bflowDefineProcess = bflowDefineProcess;
	}

	public BflowDefineProcessBo getBoIfNullAndNew() {
		if(bflowDefineProcess == null)
			bflowDefineProcess = new BflowDefineProcessBo();
		return bflowDefineProcess;
	}
}